#pragma once

#if !defined _CERTIFICATE_H_
#define _CERTIFICATE_H_

#include <WinCrypt.h>

namespace hxc
{

class Certificate
{
public:
    Certificate(LPBYTE pEncodedCert, DWORD cbData);
    explicit Certificate(PCERT_CONTEXT pCertCtx);
};

};//namespace hxc

#endif//if !defined _CERTIFICATE_H_